<?php
namespace app\policy\model;
use think\Model;
class Policy extends Model{
	
	
	public  function get_list($field="*",$where=""){
		
		$result=$this->field($field)->where($where)->order('id desc')
		        ->paginate(15);;
		
		        return $result;
	}
	public  function get_detail($field="*",$where=array()){
		
		
		$result=$this->field($field)->where($where)->order('id desc')
		->find();;
		
		return $result;
	}
}